<template>
    <div class="container d-md-block">
        <div class="ml-wrapper">
            <h5 class="title">{{$t('download_title')}}</h5>
            <ul class="malus-downloads-list">
                <li><a href="/windows" event="Download Windows Btn"><i class="ri-windows-fill"></i>{{$t('download_li_1_title')}}</a>
                </li>
                <li><a href="/ios" event="Download iOS Btn"><i class="ri-apple-fill"></i> {{$t('download_li_2_title')}}</a></li>
                <li><a href="/android" event="Download Android Btn"><i class="ri-android-fill"></i>{{$t('download_li_3_title')}}</a>
                </li>
                <li><a href="/mac" event="Download Mac Btn"><i class="ri-mac-fill"></i>{{$t('download_li_4_title')}}</a></li>
                <li><a href="/tv" event="Download TV Btn"><i
                    class="ri-tv-fill"></i>{{$t('download_li_5_title')}}</a></li>
                <li><a href="/chrome" event="Download Chrome Btn"><i class="ri-chrome-fill"></i> {{$t('download_li_6_title')}}</a></li>
            </ul>
        </div>
    </div>
</template>

<script>
export default {
    name: "Downloads"
}
</script>

<style scoped lang="scss">
@media (max-width: 768px) {
    .title {
        display: none!important;
    }
    .container {
        flex-direction: column;
        height: 100%;
        padding: 48px 0 24px;

        .ml-wrapper {
            margin-top: 0 !important;
        }

        .malus-downloads-list {
            flex-wrap: wrap;
            justify-content: center;
            margin-left: 0;

            li {
                width: 48%;
                margin-left: 0 !important;

                a {
                    border: 1px solid #f0f1ff;
                    border-radius: 4px;
                    margin-bottom: 24px;
                    width: 94%;
                    height: 52px;
                }
            }
        }
    }
}

.container {

    .ml-wrapper {
        position: relative;
        z-index: 999;
        margin-top: -55px;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        min-height: 110px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 20px 40px rgb(0 0 0 / 4%);

        h5 {
            font-size: 18px;
            font-weight: 500;
            margin-left: 36px;
            color: #333;
        }

        .malus-downloads-list {
            display: flex;
            list-style: none;
            padding: 0;
            margin-left: 6px;

            li {
                position: relative;
                display: flex;
                justify-content: center;
                margin-left: 46px;

                a {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #333;
                    font-weight: 500;
                    font-size: 15px;
                    transition: all .2s ease;

                    i {
                        font-size: 28px;
                        margin-right: 6px;
                        color: #babce6;
                        transition: all .2s ease;
                    }
                }
            }
        }
    }
}
</style>
